package com.daogu.fuelcard.dao;

import com.daogu.fuelcard.entity.TransactionRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TransactionRecordMapper {

    void insert(TransactionRecord transactionRecord);

    void deletedById(@Param("id") Integer id);

    void updateCheckStatus(@Param("ids") List<Integer> ids,@Param("checkStatus") Integer checkStatus);

    TransactionRecord selectByCardNoAndTradingTime(@Param("cardNo") String cardNo,@Param("tradingTime") String tradingTime);

    List<TransactionRecord> selectAll();

    List<TransactionRecord> getUnCheckTransaction(@Param("cardNo") String cardNo);





}
